
<div class="container-fluid">
    <div class="row-fluid">
        <div class="span10 offset1">
        	<!-- 导航条 开始 -->
        	<br />
            <div class="navbar navbar-inverse">
                <div class="navbar-inner">
                    <a class="brand" href="<?php p(HTTP_URL) ?>/index.php?m=admin">管理后台</a>
                    <ul class="nav">
                        <li<?php if (in_array(_ROUTE_C_, array('index'))) { ?> class="active"<?php } ?>><a href="<?php p(HTTP_URL) ?>/index.php?m=admin">首页</a></li>
                        
                        <li<?php if (in_array(_ROUTE_C_, array('slide'))) { ?> class="active"<?php } ?>><a href="<?php p(HTTP_URL) ?>/index.php?m=admin&c=slide">焦点图管理</a></li>
                        
                        <li class="dropdown<?php if (in_array(_ROUTE_C_, array('cat'))) { ?> active<?php } ?>">
                        	<a data-toggle="dropdown" class="dropdown-toggle" href="#">栏目管理<b class="caret"></b></a>
                            <ul class="dropdown-menu">
                                <li><a href="<?php p(HTTP_URL) ?>/index.php?m=admin&c=cat"><i class="icon-list"></i>&nbsp;栏目列表</a></li>
                                <li><a href="<?php p(HTTP_URL) ?>/index.php?m=admin&c=cat&a=add"><i class="icon-plus"></i>&nbsp;添加新栏目</a></li>
                            </ul>
                        </li>
                        
                        <li class="dropdown<?php if (in_array(_ROUTE_C_, array('content'))) { ?> active<?php } ?>">
                        	<a data-toggle="dropdown" class="dropdown-toggle" href="#">内容管理<b class="caret"></b></a>
                            <ul class="dropdown-menu">
                                <li><a href="<?php p(HTTP_URL) ?>/index.php?m=admin&c=content"><i class="icon-list"></i>&nbsp;内容列表</a></li>
                                <li><a href="<?php p(HTTP_URL) ?>/index.php?m=admin&c=content&a=add"><i class="icon-plus"></i>&nbsp;添加新内容</a></li>
                                <li class="divider"></li>
                                <li><a href="<?php p(HTTP_URL) ?>/index.php?m=admin&c=content&a=move"><i class="icon-step-forward"></i>&nbsp;批量移动</a></li>
                            </ul>
                        </li>
                        <!-- 
                        <li class="dropdown">
                        	<a data-toggle="dropdown" class="dropdown-toggle" href="#">友情链接<b class="caret"></b></a>
                            <ul class="dropdown-menu">
                                <li><a href="#">友链列表</a></li>
                                <li><a href="#">添加新友链</a></li>
                            </ul>
                        </li>
                        -->
                        <li<?php if (in_array(_ROUTE_C_, array('file'))) { ?> class="active"<?php } ?>><a href="<?php p(HTTP_URL) ?>/index.php?m=admin&c=file">附件列表</a></li>
                        <li><a target="_blank" href="<?php p(HTTP_URL) ?>">去前台看看</a></li>
                    </ul>
                    <ul class="nav pull-right">
                        <li class="dropdown<?php if (in_array(_ROUTE_C_, array('manager', 'acl'))) { ?> active<?php } ?>">
                        	<a data-toggle="dropdown" class="dropdown-toggle" href="#">管理员<b class="caret"></b></a>
                            <ul class="dropdown-menu">
                                <li><a href="<?php p(HTTP_URL) ?>/index.php?m=admin&c=manager"><i class="icon-list"></i>&nbsp;管理员列表</a></li>
                                <li><a href="<?php p(HTTP_URL) ?>/index.php?m=admin&c=manager&a=add"><i class="icon-plus"></i>&nbsp;添加管理员</a></li>
                                <li class="divider"></li>
                                <li><a href="<?php p(HTTP_URL) ?>/index.php?m=admin&c=acl"><i class="icon-check"></i>&nbsp;权限设置</a></li>
                            </ul>
                        </li>
                        
                        <li class="dropdown<?php if (in_array(_ROUTE_C_, array('myself'))) { ?> active<?php } ?>">
                        	<a data-toggle="dropdown" class="dropdown-toggle" href="#">个人设置<b class="caret"></b></a>
                            <ul class="dropdown-menu">
                                <li><a href="<?php p(HTTP_URL) ?>/index.php?m=admin&c=myself"><i class="icon-user"></i>&nbsp;基本资料</a></li>
                                <li><a href="<?php p(HTTP_URL) ?>/index.php?m=admin&c=myself&a=password"><i class="icon-lock"></i>&nbsp;修改密码</a></li>
                            </ul>
                        </li>
                        
                        <li><a href="<?php p(HTTP_URL) ?>/index.php?m=admin&c=login&a=logout">退出</a></li>
                    </ul>
                </div>
            </div>
			<!-- 导航条 结束 -->